<!DOCTYPE html>
<html>
    <head>
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'securityProfile.label', default: 'SecurityProfile')}" />
        <title>权限</title>
    </head>
    <body>
        <div class="small-header">
            <div class="hpanel">
                <div class="panel-body">
                    <div id="hbreadcrumb" class="pull-right">
                        <ol class="hbreadcrumb breadcrumb">
                            <li>贷款管理系统</li>
                            <li class="active">
                                <span>权限</span>
                            </li>
                        </ol>
                    </div>

                    <h2 class="font-light m-b-xs">
                        权限
                    </h2>
                </div>
            </div>
        </div>
    <div class="content animate-panel">
        <div class="row">
            <div class="hpanel hgreen">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <g:link action="create" class="btn btn-info btn-xs"><i class="fa fa-plus"></i>新建</g:link>
                    </div>
                    权限
                </div>
                <div class="panel-body">
                    <div class="table-responsive">
                        <table class="table table-striped table-bordered table-hover">
                            <thead>
                            <tr>
                                <g:sortableColumn property="name" title="名称"/>
                            </tr>
                            </thead>
                            <tbody>
                            <g:each in="${securityProfileList}">
                                <tr>
                                    <td><g:link action="show" id="${it?.id}" class="firstTd">${it?.name}</g:link></td>
                                </tr>
                            </g:each>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="panel-footer">
                    <div class="pagination">
                        <g:paginate total="${securityProfileCount ?: 0}" params="${params}"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
%{-- 
        <a href="#list-securityProfile" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
        <div class="nav" role="navigation">
            <ul>
                <li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
                <li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
            </ul>
        </div>
        <div id="list-securityProfile" class="content scaffold-list" role="main">
            <h1><g:message code="default.list.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
                <div class="message" role="status">${flash.message}</div>
            </g:if>
            <f:table collection="${securityProfileList}" />

            <div class="pagination">
                <g:paginate total="${securityProfileCount ?: 0}" />
            </div>
        </div> --}%
    </body>
</html>